MailPoet\Entities\NewsletterEntity B

Total Complexity 91
Dependencies 14
Dependents 109
Total lines 626
Lines of code 262
Logical lines of code 139
Comment lines 212
Methods 55
Properties 19

Methods 55

Method Rating Maintainability Complexity Lines of code
setStatus()
A
53 13 21
getFilterSegmentId()
S
62 4 11
getOption()
S
67 4 7
isTransactional()
S
62 3 12
getProcessedAt()
S
63 3 11
getOptionsAsArray()
S
63 3 11
getSegmentIds()
S
68 3 7
getWpPostId()
S
75 2 4
getLastUpdatedQueue()
S
69 2 6
getCampaignNameOrSubject()
S
76 2 4
getOptionValue()
S
75 2 4
getCampaignName()
S
69 2 7
getLatestQueue()
S
69 2 6
getGlobalStyle()
S
68 2 7
setGlobalStyle()
S
68 2 7
getContent()
S
74 2 4
__get()
S
67 2 7
getUnfinishedQueues()
S
70 1 6
getParent()
S
77 1 4
setWpPost()
S
81 1 3
getQueues()
S
82 1 3
canBeSetSent()
S
78 1 3
canBeSetActive()
S
79 1 3
getOptions()
S
82 1 3
getWpPost()
S
77 1 4
getNewsletterSegments()
S
82 1 3
getChildren()
S
82 1 3
setParent()
S
81 1 3
__construct()
S
71 1 6
setUnsubscribeToken()
S
81 1 3
setSenderName()
S
81 1 3
__clone()
S
69 1 7
getHash()
S
82 1 3
setHash()
S
81 1 3
getSubject()
S
82 1 3
setSubject()
S
81 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getSenderAddress()
S
82 1 3
setSenderAddress()
S
81 1 3
getSenderName()
S
82 1 3
getStatus()
S
82 1 3
getGaCampaign()
S
82 1 3
getReplyToAddress()
S
82 1 3
setReplyToAddress()
S
81 1 3
getReplyToName()
S
82 1 3
setReplyToName()
S
81 1 3
getPreheader()
S
82 1 3
setPreheader()
S
81 1 3
getBody()
S
82 1 3
setBody()
S
81 1 3
getSentAt()
S
82 1 3
setSentAt()
S
81 1 3
getUnsubscribeToken()
S
82 1 3
setGaCampaign()
S
81 1 3